#include<stdio.h>

int main()
{
	int n,m=0,s,r;
	printf("Input data:");
	scanf("%d",&n);
	
	s = n;
	
	while(s!=0)
	{
		r = s%10;
		m = 10*m + r;
		s = s/10;
		}	
	if(m == n)
		printf("yes\n");
	else
		printf("no\n");
}
